<?php
include("../includes/header-member.php");
include("eventSignupFunctions.php");
?>
<title>LazySwim</title>
</head>

<body>
<div id="page">
    <div id="page-top">
        <div id="page-bottom">
          <div id="header">
                <div id="header-info">
                    <h1>LAZYSWIM</h1>
                    <div class="description">Simplistic Swim System</div>
                </div>
				<!-- Header Goes Here -->
                <?php printHeader(); ?>
				<!-- Header Ends Here -->
                <div id="header-date">Today is <?php echo date('l, F jS, Y'); ?></div>
                <div id="header-cats">
				<!-- Welcome Message Starts Here -->
                    <ul>
					<?php include("../../includes/welcomeBar.php"); ?>
					</ul>
				<!-- Welcome Message Ends Here -->	
                </div>
            </div>
            <div id="main">

                <div id="sidebar">
                    <?php
					// include the corresponding navigation page
                    include("../../includes/navigation.php");
					?>     
                </div>

<!-- main body -->
            
			<div class="featured-post"> 
			
				<div class="post-title"><h2> Event Signup </h2></div>
				<div class="post-entry">            

				<?php 
				$swimmerID = $swimmerID = (isset($_GET['childID']))? $_GET['childID'] : $_SESSION['ls_userid'];
				$eventID = $_GET['eventID'];
				
				deleteSwimmerFromEvent($swimmerID, $eventID); 
				?>
				
				<!-- end of main -->

				</div>
			</div>	
				

             
                <div class="clear"></div>

            </div>
			<!-- Footer Goes Here -->
            <?php include("../../includes/footer.php"); ?>
			<!-- Footer Ends Here -->
        </div>
    </div>
</div>
</body>
</html>